function Board(container)
{
	var mContainer = container;
	var mBoardData;
	
	this.load = function(callback)
	{
		mContainer.html('Loading Board');
		ajaxGet('forum/core/board/board.php',function(resp){
			if(resp.valid)
			{
				mBoardData = resp;
				callback({'valid':true});
			}
			else
			{
				callback({'valid':false,'reason':resp.error});
			}
		});
	};

	this.show = function()
	{
		mContainer.html('');
		for(var i in mBoardData.sections)
		{
			var st = (i%2==0)?'even':'odd';
			var data = '<div class="section_'+st+'">' +
					'<div class="section_'+st+'_title">'+mBoardData.sections[i].name+'</div>' +
					'<div id="section_'+mBoardData.sections[i].id+'_forums"></div>' +
				'</div>';
				
			mContainer.append(data);
		}
		
		for(var i in mBoardData.forums)
		{
			var ft = (i%2==0)?'even':'odd';
			var data = '<div id="forum_'+ft+'"><div id="forum_'+ft+'_title">'+mBoardData.forums[i].name+
				'</div><div id="forum_'+ft+'_desc">'+mBoardData.forums[i].description+'</div></div>';
			$('#section_'+mBoardData.forums[i].parent_id+'_forums').append(data);
		}
	};
	
	return true;
}